package com.itfreer.data.db.entity;

import java.io.Serializable;


public class DBRegistEntity implements Serializable {

	private static final long serialVersionUID = 4711552878619213284L;
	
	/**
	 * id值，主键，唯一值 系统应用中必需关联此值
	 */
	private String id;
	

	/**
	 * 作为子表时的外键
	 */
	private String fKey;
	/**
	 * 数据库类型
	 */
	private String dbType;
	/***
	 * 数据库ip地址
	 */
	private String dbIp;
	/***
	 * 数据库端口号
	 */
	private String dbPort;
	/***
	 * 数据库实例名
	 */
	private String dbName;
	/**
	 * 用户名
	 */
	private String userName;
	/***
	 * 用户密码
	 */
	private String passWord;
	/***
	 * 连接connectUrl
	 */
	private String connectUrl;
	/***
	 * dialect 方言
	 */
	private String dialect;
	/***
	 * 驱动类
	 */
	private String driverClass;
	/***
	 * 显示sql
	 */
	private String showSql;
	/***
	 * 格式化sql
	 */
	private String formatSql;
	/***
	 * 表名
	 */
	private String tableName;
	/***
	 * 表默认过滤条件
	 */
	private String dfWhere;
	
	/**
	 * 数据库查询字段
	 */
	private String qfValue;
	
	public String getDbType() {
		return dbType;
	}
	public void setDbType(String dbType) {
		this.dbType = dbType;
	}
	
	public String getDbIp() {
		return dbIp;
	}
	public void setDbIp(String dbIp) {
		this.dbIp = dbIp;
	}
	public String getDbPort() {
		return dbPort;
	}
	public void setDbPort(String dbPort) {
		this.dbPort = dbPort;
	}
	public String getDbName() {
		return dbName;
	}
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getConnectUrl() {
		return connectUrl;
	}
	public void setConnectUrl(String connectUrl) {
		this.connectUrl = connectUrl;
	}
	public String getDialect() {
		return dialect;
	}
	public void setDialect(String dialect) {
		this.dialect = dialect;
	}
	public String getDriverClass() {
		return driverClass;
	}
	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}
	public String getShowSql() {
		return showSql;
	}
	public void setShowSql(String showSql) {
		this.showSql = showSql;
	}
	public String getFormatSql() {
		return formatSql;
	}
	public void setFormatSql(String formatSql) {
		this.formatSql = formatSql;
	}
	public String getDfWhere() {
		return dfWhere;
	}
	public void setDfWhere(String dfWhere) {
		this.dfWhere = dfWhere;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public String getfKey() {
		return fKey;
	}
	public void setfKey(String fKey) {
		this.fKey = fKey;
	}
	public String getQfValue() {
		return qfValue;
	}
	public void setQfValue(String qfValue) {
		this.qfValue = qfValue;
	}	
	
}
